Myth or Reality? Analyzing the Effect of Design Patterns on Software Maintainability

نویسندگان

  • Péter Hegedűs
  • Dénes Bán
  • Rudolf Ferenc
  • Tibor Gyimóthy
چکیده

Although the belief of utilizing design patterns to create better quality software is fairly widespread, there is relatively little research objectively indicating that their usage is indeed beneficial. In this paper we try to reveal the connection between design patterns and software maintainability. We analyzed more than 300 revisions of JHotDraw, a Java GUI framework whose design relies heavily on some well-known design patterns. We used our probabilistic quality model for estimating the maintainability and we parsed the javadoc annotations of the source code for gathering the pattern instances. We found that every introduced pattern instance caused an improvement in the different quality attributes. Moreover, the average design pattern line density showed a very high, 0.89 Pearson correlation with the estimated maintainability values. Although the amount of available empirical data is still very small, these first results suggest that the usage of design patterns do improve code maintainability.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Maintainability Myth Causes Performance Problems in SMP Application

A challenge in software design is to find solutions that balance and optimize the quality attributes of the application. In this paper we present a case study of an application and the results of a design decision made on weak assumptions. The application has been assessed with respect to performance and maintainability. We present and evaluate an alternative design of a critical system compone...

متن کامل

A Quantitative Evaluation of Maintainability of Software Architecture Styles

Proper decisions play a crucial role in any software architecture design process. An important decision of design stage is the selection of a suitable software architecture style. Lack of investigation on the quantitative impact of architecture styles on software quality attributes is the main problem in using such styles. Consequently, the use of architecture styles in designing is based on th...

متن کامل

Impact of Design Patterns on Software Maintainability

This paper mainly studies the effect of design patterns on the Software maintainability. Design patterns describe solutions for common design problems and they were introduced to improve software quality and accelerate software development. However, there are some difficulties to choose an optimal pattern adapted to a certain application and problem. So until now the results on the effect of de...

متن کامل

Maintainability Myth Causes Performance Problems in Parallel Applications

A challenge in software design is to find solutions that balance and optimize the quality attributes of a system. It is not always possible to maximize each attribute and one has to make trade-offs. In this paper we present a case-study of an application where a key component, special designed to be highly maintainable, caused an unexpected and serious performance problem. Interviews with the d...

متن کامل

Investigating the Effect of Virtual Reality Environment and Intelligent Control Panel on the Rehabilitation of Upper Limb

Introduction: Occupational therapy and performing specific motor activities are among the healing processes for injured people that should be followed by patients in need after the doctor’s prescription. The objective of this study was to evaluate the effect of using virtual reality environments and interacting with hardware designed for the treatment and rehabilitation of patients with upper l...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2012